package com.star.mentor.dto;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * 评估
 *
 * @author yangzj
 */
@Getter
@Setter
@Accessors(chain = true)
public class EvaluationDTO {

    /**
     * 艺人ID
     */
    @NotNull
    private Long starId;

    /**
     * 评估id
     */
    @NotNull
    private Long evaluationId;

    /**
     * 评语
     */
    @Size(max = 1000)
    private String comment;

    /**
     * 已评估项目列表
     */
    @NotEmpty
    private List<EvaluationItemScoreDTO> items;
}
